<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>选择银行卡</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.js"></script>
    <!-- <script src="./asset/bootstrap.js"></script> -->
    <script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js
    "></script>
</head>
</head>
<body>
<div class="modal" id="myModal" tabindex="-1" data-backdrop="statics" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">温馨提示</h4>
            </div>
            <div class="modal-body">

                <form action="" method="POST" class="form-horizontal" role="form">
                    <p>请选择要支付的银行卡 <span style="color: red;"></p>
                    <!-- <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" value="" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" value="" readonly>
                            </div>
                    </div> -->

                    <div class="form-group">
                        <label class="col-sm-2 control-label">银行</label>
                        <div class="col-sm-10">
                            <select class="form-control">
                                <option>请选择</option>
                                <option value="ICBC">工商银行</option>
                                <option value="ABC">农业银行</option>
                                <option value="BOC">中国银行</option>
                                <option value="CCB">建设银行</option>
                                <option value="CMB">招商银行</option>
                                <option value="SPDB">浦发银行</option>
                                <option value="GDB">广发银行</option>
                                <option value="PSBC">邮政储蓄银行</option>
                                <option value="CNCB">中信银行</option>
                                <option value="CMBC">民生银行</option>
                                <option value="CEB">光大银行</option>
                                <option value="HXB">华夏银行</option>
                                <option value="CIB">兴业银行</option>
                                <option value="PAB">平安银行</option>
                                <option value="BCCB">北京银行</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button class="btn btn-primary">提交</button>
                        </div>
                    </div>
                </form>


            </div>
            <!-- <div class="modal-footer">
                <a href="javascript:;" id="jump">我知道了</a>
                <a id='links' href="http://www.shibochuangshop.com/timeout/{$orderid}" style='display:none;'></a>
            </div> -->
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>
</body>
</html>
<script>
    $(function(){
        // dom加载完毕
        var $modal = $('#myModal');
        $modal.modal({backdrop: 'static'});

        // 测试 bootstrap 居中
        var $modal_dialog = $modal.find('.modal-dialog');
        var m_top = ( $(window).height() - $modal_dialog.height() )/2;
        $modal_dialog.css({'margin': m_top + 'px auto'});
    });




    $('#jump').click(function(){
        // window.open('https://render.alipay.com/p/s/i?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FsaId%3D10000007%26qrcode%3Dhttps%3A%2F%2Fqr.alipay.com%2Ffkx03221oj4ktpkktgopq78')
        window.location = '/timeout/{$orderid}'
        // var obj = document.getElementById('links');
        // window.open("http://www.shibochuangshop.com/timeout/{$orderid}");
        // obj.click();
        // var e = document.createEvent('MouseEvent');
        // e.initEvent('click', false, false);
        // document.getElementById("links").dispatchEvent(e);
    })

</script>